package com.youhome.business.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.Email;
import java.util.Date;

/**
 * Created by chen365 on 2019/02/21.
 */
@Data
@ApiModel
public class DTOClientRegister {

    @ApiModelProperty(value = "注册来源(1.分享注册,2.顾问创建,3.B端注册,4.C端注册)", required = true)
    private Integer source;

    @ApiModelProperty(value = "分享组shareId/公司uuid")
    private String id;

    @ApiModelProperty(value = "短信验证码", required = true)
    @Length(min = 6, max = 6, message = "短信验证码为6位数据")
    private String msg;

    @ApiModelProperty(value = "短信验证码ID", required = true)
    private String msgId;

    @ApiModelProperty(value = "名字", required = true)
    private String name;

    @ApiModelProperty(value = "邮箱")
    @Email(message = "邮箱不正确")
    private String email;

    @ApiModelProperty(value = "手机", required = true)
    private String phone;

    @ApiModelProperty(value = "微信号")
    private  String weiXin;

    @ApiModelProperty(value = "QQ")
    private String qq;

    @ApiModelProperty(value = "投资目的")
    private String investmentObjective;

    @ApiModelProperty(value = "资金来源:国内资金、海外资金")
    private String capitalSource;

    @ApiModelProperty(value = "房型倾向")
    private String tendencyRoom;

    @ApiModelProperty(value = "地点倾向")
    private String tendencySite;

    @ApiModelProperty(value = "价格倾向")
    private String tendencyPrice;

    @ApiModelProperty(value = "面积倾向")
    private String tendencySize;
    @ApiModelProperty(value = "学校倾向(幼儿园,小学,初中,高中,大学)")
    private String tendencySchool;
    @ApiModelProperty(value = "省")
    private String province;
    @ApiModelProperty(value = "市")
    private String city;
    @ApiModelProperty(value = "区")
    private String area;
    @ApiModelProperty(value = "详细地址")
    private String address;
    @ApiModelProperty(value = "生日")
    private Date birthDate;
    @ApiModelProperty(value = "婚姻，0保密，1已婚，2未婚，3离异")
    private Integer marital;
    @ApiModelProperty(value = "年收入")
    private String income;
    @ApiModelProperty(value = "职称")
    private String jobTitle;
    @ApiModelProperty(value = "工作行业")
    private  String jobType;
    @ApiModelProperty(value = "性别，0女，1男")
    private Integer sex;
}
